package com.company;

public class ITDemo  implements IMyInterface<String>{
    public int add(int a,int b){
        return a+b;
    }
    public <T> T addT(T a,T b){
        return a;
    }
    @Override
    public void show(String name){
        System.out.println(name);
    }

    public static void main(String[] args) {
        ITDemo itDemo =new ITDemo();
        Integer integer=itDemo.<Integer>addT(3,4);
        System.out.println(integer);
        itDemo.show("A nice day!");
    }
}
